package com.xiaodou.mjf.web.xface.user.domain;

import com.fasterxml.jackson.annotation.JsonProperty;

public class BuyRecord {

	String oid;
	String id;
	String name;
	Double amount;
	@JsonProperty("purchase_date")
	String purchaseDate;
	String status;
	@JsonProperty("earned_profit")
	Double earnedProfit;
	
	
	public BuyRecord(String oid, String id, String name,
			Double amount, String purchaseDate, String status, Double earnedProfit) {
		this.oid = oid;
		this.id = id;
		this.name = name;
		this.amount = amount;
		this.purchaseDate = purchaseDate;
		this.status = status;
		this.earnedProfit = earnedProfit;
	}
	public String getOid() {
		return oid;
	}
	public void setOid(String oid) {
		this.oid = oid;
	}
	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Double getAmount() {
		return amount;
	}
	public void setAmount(Double amount) {
		this.amount = amount;
	}
	public String getPurchaseDate() {
		return purchaseDate;
	}
	public void setPurchaseDate(String purchaseDate) {
		this.purchaseDate = purchaseDate;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Double getEarnedProfit() {
		return earnedProfit;
	}
	public void setEarnedProfit(Double earnedProfit) {
		this.earnedProfit = earnedProfit;
	}

}
